package basic;

public class BreakKeywords1 {
    public static void main(String[] args) {
        for(int i = 1; i <= 10; i ++){//循环条件
            if (i == 3){//条件语句
                System.out.println("当i等于3时，终止循环!");
                break;
            }
            System.out.println(i);
        }
    }
}
